<div class="containertable">
<table border="0" width="100%" cellspacing="0" cellpadding="10">
<tr>
<td width="100%">

{if $banner}
    <p>{$banner}</p>
{/if}

{if $index_catid==0}
    <!-- If we are on frontpage -->
    {if $member}
        <h2>{$index_welcome_91}</h2>
        <p class="headline">{$index_welcome_92}</p>
    {else}
        <h2>{$index_welcome_1}</h2>
        <p class="headline">{$index_welcome_2}</p>
    {/if}
{/if}

{if $catname}
<h2>{$catname}</h2>
{/if}


{if $premium_picture==1 and $set_special==0}
<!-- PREMIUM PICTURE -->
    {if $index_catid==0}
    <table>
    <tr>
        <td>{php}include("catcol.php");{/php}</td>
        <td>{php}include("premium.php");{/php}</td>
    </tr>
    </table>
    {else}
        {php}include("catcol.php");{/php}
        {php}include("premium.php");{/php}
    {/if}
<!-- PREMIUM PICTURE -->

{elseif $premium_picture==0 and $set_special==1}
    <!-- PREMIUM ADS -->
    <table border='0' width='100%'><tr><td valign='top' width='{$size}%'>
    {php}
    include("catcol.php");
    {/php}
    </td>
    <td valign="top" width="30%">
        <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box">
        <tr>
            <th colspan="2" class="bottombutton_tile">{$smarty.const.LA_PREMIUM}</th>
        </tr>
        {foreach item=special from=$special_list}
            <tr><td><img src="layout_images/admin/special.gif" align="left" alt="" /></td>
            <td><a href="{$special.s_link}"><img src="layout_images/pointer.gif" border="0" alt="" />
             {$special.s_title}</a>
            </td></tr>
        {/foreach}
        </table>
    </td>
    </tr>
    </table>
    <!-- PREMIUM ADS -->


{elseif $premium_picture==1 and $set_special==1}
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS FP-->
    {if $index_catid==0}
    <table border='0' width='100%'><tr><td valign='top' width='{$size}%'>
    <tr>
        <td>
        {php}
        include("catcol.php");
        {/php}
        </td>
        <td valign="top" width="30%">
            <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box">
            <tr>
                <th colspan="2" class="bottombutton_tile">{$smarty.const.LA_PREMIUM}</th>
            </tr>
            {foreach item=special from=$special_list}
            <tr>
                <td><img src="layout_images/admin/special.gif" align="left" alt="" /></td>
                <td><a href="{$special.s_link}"><img src="layout_images/pointer.gif" border="0" alt="" />{$special.s_title}</a></td>
            </tr>
            {/foreach}
            </table>
        </td>
        <td>
        {php}include("premium.php");{/php}
        </td>
    </tr>
    </table>
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS FP-->
    {else}
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS CAT-->
        <table border='0' width='100%'><tr><td valign='top' width='{$size}%'>
        {php}
        include("catcol.php");
        {/php}
        </td>
        <td valign="top" width="30%">
            <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box">
            <tr>
                <th colspan="2" class="bottombutton_tile">{$smarty.const.LA_PREMIUM}</th>
            </tr>
            {foreach item=special from=$special_list}
                <tr><td><img src="layout_images/admin/special.gif" align="left" alt="" /></td>
                <td><a href={$special.s_link}"><img src="layout_images/pointer.gif" border="0" alt="" />
                 {$special.s_title}</a>
                </td></tr>
            {/foreach}
            </table>
        </td>
        </tr>
        </table>
        {php}include("premium.php");{/php}
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS CAT-->
    {/if}


{else}
<!-- NO PREMIUM -->
    {php}
    include("catcol.php");
    {/php}
<!-- NO PREMIUM -->
{/if}



<!-- SHOW LIST -->
{*if !$HideLastListFp*}
    {php}include("links.php");{/php}
{*/if*}


</td></tr></table>
</div>
